﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Reflection;
using System.Configuration;

namespace TireService.Web
{
    public partial class TsSite : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.IsPostBack != true)
            {
                lblVersion.Text = "Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString();
            }

            if (ConfigurationManager.AppSettings["TestEnvironmentOn"] == "1")
            {
                lSystemMessage.Text = "<h1>AUTOIMAGE - TEST SYSTEM</h1>";
            }
        }
    }
}